package com.lzw.service;

import com.lzw.bean.Menu;
import com.lzw.bean.Node;
import com.lzw.common.service.BaseService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 林志伟 on 2017/5/11.
 */
public interface MenuService extends BaseService<Menu>{


    /**
     * 查询多级菜单
     * @return
     */
    public List<Menu> findMenu();

    /**
     * 查询子菜单
     * @param id
     * @return
     */
    public List<Menu> findMenuByPid( Integer id);


    public List<Menu> selectByRole(int role_id);

}
